import en from './en_US';
import zh from './zh_CN';

const resources: any = {
    en,
    zh
};

export const getLocale = (lang: any) => {
    return resources[lang] || resources.zh;
};

export const availableLanguages = [
    { code: 'en', name: 'English' },
    { code: 'zh', name: '中文' }
];